docs(memcached): sync template standards updates#358
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdded two configurable playground fields for memcached ChangesMemcached NetworkPolicy extraEgress
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/pages/docs/charts/memcached.mdx (1)
236-243: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueConsider showing a populated
extraEgressexample.
extraEgress: []just repeats the default and doesn't demonstrate the rule shape (to[].ipBlock.cidr,ports[].port) that the new playground fields populate.✏️ Suggested example
egress: enabled: true allowDNS: true - extraEgress: [] + extraEgress: + - to: + - ipBlock: + cidr: 10.80.0.0/16 + ports: + - port: 443 + protocol: TCP🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/pages/docs/charts/memcached.mdx` around lines 236 - 243, The NetworkPolicy example in the memcached docs only shows the default empty extraEgress value, so update the example to demonstrate a populated extraEgress rule using the fields exposed by the playground, such as a to[] ipBlock.cidr target and ports[] entries with port values. Keep the surrounding networkPolicy structure in the memcached.mdx example, but replace the placeholder empty array with a concrete rule shape that readers can copy.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@src/pages/docs/charts/memcached.mdx`:
- Around line 236-243: The NetworkPolicy example in the memcached docs only
shows the default empty extraEgress value, so update the example to demonstrate
a populated extraEgress rule using the fields exposed by the playground, such as
a to[] ipBlock.cidr target and ports[] entries with port values. Keep the
surrounding networkPolicy structure in the memcached.mdx example, but replace
the placeholder empty array with a concrete rule shape that readers can copy.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 64bba44c-9902-45a7-8156-d034102734c7
📒 Files selected for processing (2)
src/data/playground-configs.tssrc/pages/docs/charts/memcached.mdx
|
Synced this site PR with the Memcached chart change in helmforgedev/charts#680. What changed:
Validation:
|
|
Addressed the CodeRabbit review-body feedback. Changes:
Validation:
Note: this CodeRabbit item was posted in the review summary/body, not as an active review thread, so there is no thread ID to reply to or resolve. |
## Summary - Keep the Helm test hook under `templates/tests/` so `helm test` renders and executes it, with unittest coverage preserved. - Add `networkPolicy.extraEgress` so callers can append full custom egress rules. - Number `NOTES.txt` sections and sync README values documentation. ## Related - Site sync: helmforgedev/site#358. ## Validation - `helm template test charts/memcached | rg -n "helm.sh/hook|test-connection"` (hook rendered from `templates/tests/test-connection.yaml`) - `helm unittest charts/memcached` (41 tests, 9 suites) - `make template-standards-check CHART=memcached` - `node scripts/charts/validate-chart.js --chart memcached --no-k3d` - `make validate-chart CHART=memcached TIMEOUT=900` (FULLY VALIDATED, 19 layers) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added `networkPolicy.egress.extraEgress` to append additional egress rules to Memcached NetworkPolicy. * **Bug Fixes** * NetworkPolicy rendering now includes the extra egress rules when configured (covered by rendering tests). * **Documentation** * Updated Memcached chart docs and NetworkPolicy examples to describe `networkPolicy.extraEgress`. * Improved startup notes formatting and validation instructions with clearer numbered sections. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: MergeCheck <mergecheck@example.invalid>
06c5e67 to
7c84acc
Compare
Summary
networkPolicy.extraEgressfor Memcached.Related
Validation
npm run lintnpm run format:checknpm run buildmake site-sync-check CHART=memcachedmake release-check REPO=sitemake attribution-check REPO=siteSummary by CodeRabbit
extraEgressoption.